package com.hgyc.mom.eam.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hgyc.mom.eam.entity.EamEquipmentRepairReport;

/**
 * 设备维修报告Service接口
 *
 * @author fwj
 * @since 2025-08-19
 */
public interface EamEquipmentRepairReportService extends IService<EamEquipmentRepairReport> {

    /**
     * 根据父ID查询结果
     * @param parentId 父ID
     * @return 采购明细
     */
    EamEquipmentRepairReport getByParentId(Long parentId);

    /**
     * 根据父ID删除
     * @param parentId 父ID
     */
    void deleteByParentId(Long parentId);

    /**
     * 根据父ID集合删除
     * @param parentIds 父ID集合
     */
    void deleteBatchByParentIds(List<Long> parentIds);
}
